﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SubjectList.ascx.cs"
    Inherits="Job.Web.userControls.Public.SubjectList" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>

<asp:DataList Width="100%" ID="dlList" runat="server" OnItemDataBound="dlList_ItemDataBound" BorderWidth="0" CellPadding="0" CellSpacing="0" ItemStyle-CssClass="row28">
    <ItemTemplate>
        <table width="100%">
          <tr>
            <td width="2%"><img src="images/icon07.jpg" width="9" height="9" /></td>
            <td width="88%" background="images/bg03.jpg" align="left">
                <asp:HyperLink CssClass="subjectList_A" ID="hlDetail" runat="server"><%#DataBinder.Eval(Container.DataItem,"title")%></asp:HyperLink>
                <asp:Label ID="lblid" Visible="false" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"content_id")%>'></asp:Label>
            </td>
            <td width="10%" background="images/bg03.jpg" class="gray">
                <asp:Label ID="lbltime" Visible="true" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"last_update_time","{0:yyyy-MM-dd}")%>'></asp:Label>
            </td>
          </tr>     
        </table>
    </ItemTemplate>
</asp:DataList>

<table width="100%" height="40" border="0" cellpadding="0" cellspacing="0">
    <tr>
          <td align="center">
           <webdiyer:AspNetPager Width="100%" ID="pagerButtom" runat="server" ButtonImageNameExtension="n"
                ButtonImageExtension=".gif" DisabledButtonImageNameExtension="g" 
				CpiButtonImageNameExtension="r" CssClass="pagination" CurrentPageButtonClass="current"
                PagingButtonClass="" PagingButtonLayoutType="Span" PageSize="15" 
                CustomInfoHTML="共<font color='red'> %RecordCount% </font>条记录 当前第<font color='red'> %CurrentPageIndex% </font>页/共<font color='red'> %PageCount% </font>页" 
                onpagechanged="pagerButtom_PageChanged" 
                onpagechanging="pagerButtom_PageChanging" ShowCustomInfoSection="Left" 
				FirstLastButtonStyle="" MoreButtonStyle="" 
				PagingButtonStyle="" CustomInfoClass="pagerCustomerinfo" LayoutType="Table" 
				AlwaysShow="True" CustomInfoTextAlign="Left" HorizontalAlign="Right">
            </webdiyer:AspNetPager>          
          </td>
    </tr>
</table>